class Leirenyuan {
  void crySpeak(String s) {
    System.out.println(s);
  }
}
class People2 extends Leirenyuan {
  void computer(int a,int b) {
    int c=a*b;
    System.out.println(c);
  }
  void crySpeak(String s){
    System.out.println("***"+s+"***");
  }
}
public class Example5_10 {
  public static void main (String args[]){
    Leirenyuan monkey;
    People2 geng=new People2();
    monkey = geng;
    monkey.crySpeak("i love this game");
    People2 people=(People2)monkey;
    people.computer(10,10);
  }
}
